package List;

import java.util.LinkedList;

public class LinkList {
    public static void main(String[] args) {
        LinkedList linkedList=new LinkedList();

        linkedList.add(33);
        linkedList.add(2);
        linkedList.push(1);linkedList.push(11);linkedList.push(111);
        linkedList.add(3);
        linkedList.set(4,1111);

        System.out.println(linkedList.get(2));
        System.out.println(linkedList);
    }
}
